package com.antler.smt.service.portal;

import com.antler.smt.enums.ResultCodeEnum;
import com.antler.smt.request.admin.GetProposalListReq;
import com.antler.smt.response.admin.GetProposalListResp;
import com.antler.smt.response.base.Result;

/**
 * 意见与反馈接口
 *
 * @author zhangyi
 * @date 2018/3/21 13:01
 */
public interface ProposalService {
  /**
   * 插入意见反馈信息
   *
   * @param proposal 请求实体
   * @param memberId 会员id
   * @return 插入状态
   */
  Result<ResultCodeEnum> insertProposalByMember(GetProposalListReq proposal,Long memberId);

  /**
   * 游客插入
   *
   * @param proposal
   * @return
   */
  Result<ResultCodeEnum> insertProposalRand(GetProposalListReq proposal);
}
